﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：DefaultConfigSettingStore.cs
// 功能描述：TongTongMall
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TongTongMall.Configuration
{
    /// <summary>
    /// 默认的ISettingStore 实现类
    /// </summary>
    public class DefaultConfigSettingStore : ISettingStore
    {

        public static DefaultConfigSettingStore Instance { get { return SingletonInstance; } }
        private static readonly DefaultConfigSettingStore SingletonInstance = new DefaultConfigSettingStore();

        public Task CreateAsync(SettingInfo setting)
        {
            throw new NotImplementedException();
        }

        public Task DeleteAsync(SettingInfo setting)
        {
            throw new NotImplementedException();
        }

        public Task<SettingInfo> GetSettingOrNullAsync(long? tenantId, long? userId, string key)
        {
            throw new NotImplementedException();
        }

        public Task UpdateAsync(SettingInfo setting)
        {
            throw new NotImplementedException();
        }

        public Task<List<SettingInfo>> GetAllListAsync(long? tenantId, long? userId)
        {
            throw new NotImplementedException();
        }
    }
}
